package com.tle.learnandroidlifetime;

import android.content.Context;
import android.view.Gravity;
import android.widget.Toast;

public class Utilities 
{
	static final protected void showToast (Context context , String sMessage)
    {
    	Toast toast = Toast.makeText(context, sMessage, Toast.LENGTH_LONG);
    	toast.setGravity(Gravity.CENTER_HORIZONTAL|Gravity.CENTER_VERTICAL, 0, 0);
    	
    	toast.show();
    }
}
